package com.hyst.domain;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* 课程实体
*/
@Data
@ApiModel(value = "课程", description = "")

public class Lesson {
	

	@Id
	@ApiModelProperty(value = "id")
	private Integer id;

	@ApiModelProperty(value = "课程中文名称")
	private String nameZh;

	@ApiModelProperty(value = "课程英文名称")
	private String nameEn;

	@ApiModelProperty(value = "课程章节介绍")
	private String section;

	@ApiModelProperty(value = "特点介绍")
	private String feature;

	@ApiModelProperty(value = "封面")
	private String cover;

	@ApiModelProperty(value = "is_delete")
	private Integer isDelete=0;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
}
